package easysearch.classes
{
	
	import com.facebook.graph.FacebookDesktop;
	
	public class Group
	{

			public var resultType:String = "Group";
			public var groupID:String;
			public var photoURL:String;
			public var name:String;
			public var description:String;
			public var owner:String;
			
			public function Group(json:Object){
				groupID = json.id;
				photoURL = FacebookDesktop.getImageUrl(groupID, "large");
				name = json.name;
				description = json.description;
				owner = json.owner.name;
			}
	}
}